# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=ciscos
pkgver=1.3
pkgrel=2
pkgdesc='Scans class A, B, and C networks for cisco routers which have telnet open and have not changed the default password from cisco.'
groups=('blackarch' 'blackarch-scanner')
license=('custom:unknown')
arch=('x86_64' 'aarch64')
source=("https://dl.packetstormsecurity.net/$pkgname/$pkgname.c")
sha512sums=('ebdf82416cbbc7d571a91f0a1ddfdfc3cd20b1d50f38a943c0af5dca5a8c3e09e8b57ab8e567d6c202155ab8e1702c7428ddc6e2df406ff9ab9af50111b0f677')

build() {
  gcc $CFLAGS -o $pkgname "$pkgname.c"
}

package() {
  install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname"
}

